package com.breeze.blockchain.common.config;

import com.breeze.components.message.secure.config.SecureInvokeConfigurer;
import jakarta.annotation.Resource;
import java.util.concurrent.Executor;
import org.springframework.context.annotation.Configuration;

/**
 * @author breeze
 */
@Configuration
public class SecureInvokeConfig implements SecureInvokeConfigurer {

  @Resource Executor slowAndManyThreadPoolExecutor;

  @Override
  public Executor getSecureInvokeExecutor() {
    return slowAndManyThreadPoolExecutor;
  }
}
